package com.wl4837.demo2;

// 具体工厂：Oracle连接工厂
public class OracleConnectionFactory implements DBConnectionFactory {
    @Override
    public DBConnection createConnection() {
        return new OracleConnection();
    }
}